<layout name="layout">
<div>
	<form action='' name='form2' method='POST' >
		<div class='layer-form-item'>
			<label class='layer-form-label'>部门：</label>
			<div class='layer-input-inline'>
					<select class='layer-select' name='branch_id' id='opt'>
						<volist name="branches" id="vo">
						<option <?php if($item['branch_id'] == $vo['id']):?>selected<?php endif;?> value="{$vo.id}">{$vo.brank_name}</option>
						</volist>
					</select>
			</div>
		</div>
		<div class='layer-form-item'>
			<label class='layer-form-label'>项目名称：</label>
			<div class='layer-input-inline'>
				<input class='layer-input' type='text' name='category_name' id='category_name' value="{$item.category_name}" placeholder='请输入项目名称'>
			</div>
		</div>
		<div class='layer-form-item'>
			<label class='layer-form-label'>选择加/减分：</label>
			<div class='layer-input-inline'>
					<select class='layer-select' name='opt' id='opt'>
						<option <?php if($item['opt']=='+'):?>selected<?php endif;?> value='+'>加分项目</option>
						<option <?php if($item['opt']=='-'):?>selected<?php endif;?> value='-'>减分项目</option>
					</select>
			</div>
		</div>
		<div class='layer-form-item'>
			<label class='layer-form-label'>最小积分：</label>
			<div class='layer-input-inline'>
				<input class='layer-input' type='number' name='min_jifen' value="{$item.min_jifen}" id='min_jifen' request placeholder=''>
			</div>
		</div>
		<div class='layer-form-item'>
			<label class='layer-form-label'>最大积分：</label>
			<div class='layer-input-inline'>
					<input class='layer-input' type='number' name='max_jifen' value="{$item.max_jifen}" id='mix_jifen' request placeholder=''>
			</div>
		</div>
		<div class='layer-form-item'>
			<div class='layer-input-block'>
				<input class='layer-btn' type='submit' id='submit1' value='确认编辑'>
			</div>
		</div>
		<input type="hidden" name="id" value="{$item.id}" >
	</form>
</div>